package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 论文著作对象 t_papers_and_books
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class PapersAndBooks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private String employeeId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 发表（出版）时间 */
    @Excel(name = "发表", readConverterExp = "出=版")
    private Date publicationDate;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 收录情况 */
    @Excel(name = "收录情况")
    private String inclusion;

    /** 论文或著作名称 */
    @Excel(name = "论文或著作名称")
    private String title;

    /** 著作出版单位或期刊名称 */
    @Excel(name = "著作出版单位或期刊名称")
    private String publisherOrJournal;

    /** 书号或期刊号 */
    @Excel(name = "书号或期刊号")
    private String bookOrJournalNumber;

    /** 总完成人数 */
    @Excel(name = "总完成人数")
    private Long totalContributors;

    /** 本人排序 */
    @Excel(name = "本人排序")
    private Long authorRank;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 年度 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年度", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardYear;

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAwardYear(Date awardYear) 
    {
        this.awardYear = awardYear;
    }

    public Date getAwardYear() 
    {
        return awardYear;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPublicationDate(Date publicationDate) 
    {
        this.publicationDate = publicationDate;
    }

    public Date getPublicationDate() 
    {
        return publicationDate;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setInclusion(String inclusion) 
    {
        this.inclusion = inclusion;
    }

    public String getInclusion() 
    {
        return inclusion;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPublisherOrJournal(String publisherOrJournal) 
    {
        this.publisherOrJournal = publisherOrJournal;
    }

    public String getPublisherOrJournal() 
    {
        return publisherOrJournal;
    }
    public void setBookOrJournalNumber(String bookOrJournalNumber) 
    {
        this.bookOrJournalNumber = bookOrJournalNumber;
    }

    public String getBookOrJournalNumber() 
    {
        return bookOrJournalNumber;
    }
    public void setTotalContributors(Long totalContributors) 
    {
        this.totalContributors = totalContributors;
    }

    public Long getTotalContributors() 
    {
        return totalContributors;
    }
    public void setAuthorRank(Long authorRank) 
    {
        this.authorRank = authorRank;
    }

    public Long getAuthorRank() 
    {
        return authorRank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("remarks", getRemarks())
            .append("awardYear", getAwardYear())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("name", getName())
            .append("publicationDate", getPublicationDate())
            .append("category", getCategory())
            .append("inclusion", getInclusion())
            .append("title", getTitle())
            .append("publisherOrJournal", getPublisherOrJournal())
            .append("bookOrJournalNumber", getBookOrJournalNumber())
            .append("totalContributors", getTotalContributors())
            .append("authorRank", getAuthorRank())
            .toString();
    }
}
